package com.zlf.business.agency.model;

import com.zlf.business.agency.model.impl.EJBService;
import com.zlf.business.agency.model.impl.JMSService;

//创建业务查找服务
public class BusinessLookUp {
		public BusinessService getBusinessService(String serviceType){

				if(serviceType.equalsIgnoreCase("EJB")){
						return new EJBService();
				}
				else {
						return new JMSService();
				}
		}
}
